package org.mcb.zebra.portal.url;

import javax.portlet.PortletMode;
import javax.portlet.WindowState;

import org.apache.pluto.PortletWindow;

public abstract class PortalUrl {
	public enum PortletRequestMode{
		ACTION,RENDER,NONE
	}
	String porletWindowID=null;
	WindowState state = null;
	PortletMode mode=null;
	PortletRequestMode portletRequestMode = PortletRequestMode.NONE;
	public String getPorletWindowID() {
		return porletWindowID;
	}
	public void setPorletWindowID(String porletWindowID) {
		this.porletWindowID = porletWindowID;
	}
	public WindowState getState() {
		return state;
	}
	public void setState(WindowState state) {
		this.state = state;
	}
	public PortletMode getMode() {
		return mode;
	}
	public void setMode(PortletMode mode) {
		this.mode = mode;
	}
	public PortletRequestMode getPortletRequestMode() {
		return portletRequestMode;
	}
	public void setAction(PortletRequestMode isAction) {
		this.portletRequestMode = isAction;
	}
	public abstract void setPortletMode(PortletWindow portletWindow,PortletMode mode);
	public abstract void setWindowStatus(PortletWindow portletWindow,WindowState state);
}
